﻿package {	import flash.display.*;		public class MatchingGame2 extends MovieClip {		// game constants		private static const boardWidth:uint = 6;		private static const boardHeight:uint = 6;		private static const cardHorizontalSpacing:Number = 52;		private static const cardVerticalSpacing:Number = 52;		private static const boardOffsetX:Number = 120;		private static const boardOffsetY:Number = 45;		public function MatchingGame2():void {			for(var x:uint=0;x<boardWidth;x++) {				for(var y:uint=0;y<boardHeight;y++) {					var thisCard:Card = new Card();					thisCard.stop();					thisCard.x = x*cardHorizontalSpacing+boardOffsetX;					thisCard.y = y*cardVerticalSpacing+boardOffsetY;					addChild(thisCard);				}			}		}			}}